home *** CD-ROM | disk | FTP | other *** search
/ Chip 2000 July / CHIP Turkiye Temmuz 2000.iso / prog / share / 28 / 28.exe / LENS.TXT < prev    next >
Text File  |  1995-07-05  |  14KB  |  402 lines

  1. Lens 2.03: A Windows Magnifier, by Ned Konz, July 1995
  2.  
  3. This file is mostly the same as the Windows help file (LENS.HLP)
  4. that comes with LENS, except for the part about installing Lens.
  5. You might like to install Lens and look at the help file instead.
  6.  
  7. Installing Lens
  8.  
  9. Lens 2.03 comes as a PKUNZIP 2.04g ZIP file. Prior versions were
  10. distributed as self-extracting archives, but the norm seems to be
  11. the .ZIP format.
  12.  
  13. To install Lens, you should go to the MS-DOS prompt, change to the 
  14. directory in which you want to install Lens (or make a directory for 
  15. Lens first), and run the PKUNZIP.EXE program from that directory.
  16.  
  17. For instance, if you want to install Lens to your existing directory
  18. called C:\UTILS, and you had LENS203.ZIP in a directory called
  19. C:\DOWNLOAD, you could do the following:
  20.  
  21.     c:
  22.     cd \utils
  23.     pkunzip \download\lens203
  24.  
  25. Alternatively, you could do this:
  26.  
  27.     pkunzip c:\download\lens203 c:\utils
  28.  
  29. There are two versions of the .EXE file included: LENS.EXE, which is a 16-bit
  30. version for Windows 3.1, and LENS32.EXE, which is a 32-bit version for Windows/NT
  31. and Windows 95. The main difference besides 16-bit and 32-bit is that the 32-bit
  32. version stores its settings in the Registry.
  33.  
  34. About Lens
  35.  
  36. Lens normally magnifies an area of the screen around the mouse pointer. It can 
  37. alternately try to track the caret (the "text cursor") in text applications, if you 
  38. enable Track Caret mode, or it can display a magnified fixed area of 
  39. the screen, if you choose Freeze Location mode.
  40.  
  41. This is a Windows version of an Amiga program I wrote in 1985. First 
  42. written in 1991, it has been updated through the years, thanks to your 
  43. support. It was written in C++, and compiled using Borland's compiler (for 
  44. the 16 bit version) or Microsoft's Visual C++ compiler (for the 32-bit 
  45. version). I have also produced a version of Lens for the OS/2 2.x Workplace 
  46. Shell.
  47.  
  48. Lens for Windows, version 2.03 (this version) adds many features, bringing 
  49. the Windows version up to the level of the OS/2 version. It also introduces 
  50. a Win32 (Windows/NT or Windows 95) version in the distribution.
  51.  
  52. If you feel this program has value to you, I'd really appreciate a payment of 
  53. $5.00 US sent to me at:
  54.  
  55. Ned Konz
  56. 810 21st Avenue North
  57. St. Petersburg FL 33704
  58. USA
  59.  
  60. I can be reached on the Internet as nedkonz@gate.net or on Compuserve as 
  61. 76046,223 .
  62.  
  63.  
  64.  
  65. About the Author
  66.  
  67. I've been working with microcomputers since around 1975 (that is, as long 
  68. as there have been microcomputers). I helped build an Altair, helped start 
  69. the first computer store in Tampa FL, and started the first computer store in 
  70. Daytona Beach FL.
  71.  
  72. I got into software by bootstrapping myself from being an electronics 
  73. technician, through doing electronics design, and then into programming.
  74.  
  75. I found that I didn't get solder burns as much while programming.
  76.  
  77. My experience includes a fair amount of embedded systems work, robotics, 
  78. and data communications, also publishing, text processing, and typesetting. 
  79. I've programmed in several assemblers, C, C++, and a variety of little 
  80. languages and tool-specific languages.
  81.  
  82. So far, I've avoided writing database or business software (and hope to 
  83. keep it that way), except for a particularly dreadful 3-month stint doing 
  84. magazine subscription fulfullment using Informix.
  85.  
  86. Currently I'm working in C++, because it seems to be the best general-
  87. purpose language around for the kind of work I'm doing (embedded systems 
  88. for robotics and process control).
  89.  
  90. In real life, I enjoy diving, making beer, cooking, motorcycling, and bicycling 
  91. (I rode my bicycle across the US from Florida to Oregon in 1985).
  92.  
  93. Why do I write shareware/freeware? I enjoy the feedback I get from people 
  94. who use my programs. In the case of Lens, many regular users are vision-
  95. impaired, and Lens makes it easier for them to use their computers. It's nice 
  96. to know that something I found useful or interesting is also useful or 
  97. interesting to someone else.
  98.  
  99. Other shareware/freeware programs I've written (on a fine BBS near you):
  100.  
  101.   KEYIN (1985)(DOS) -- run an application and feed it keystrokes.
  102.   INTERCEPT (1985)(DOS) -- intercept and report on interrupt/DOS calls 
  103. made by an application.
  104.   LENS (1985)(Amiga)
  105.   SCREENDUMP (1985)(Amiga) -- dump graphics screen to printer
  106.   SWAPDCP (1993)(OS/2) -- allows editing of KEYBOARD.DCP file
  107.   LENS (1993)(OS/2) -- OS/2 PM version of LENS
  108.  
  109. Let me hear what you think about Lens, even if you don't send any 
  110. money... I rely on user feedback to improve my programs, and would like to 
  111. get yours.
  112.  
  113.  
  114.  
  115. Always on Top mode
  116.  
  117. Lens can be made to always stay on top of all other windows, even if it 
  118. doesn't have the focus.
  119.  
  120. To do this, select "Always on top" from the Settings menu, or use the 't' 
  121. key.
  122.  
  123.  
  124.  
  125. Changing Magnification
  126.  
  127. The magnification may be changed with the Zoom In (+) and Zoom Out (-) 
  128. menu choices. The available range is from 1X to 40X.
  129.  
  130. The magnification can also be changed using the '+' or '=' key to 
  131. increase magnification, or the '-' key to decrease it.
  132.  
  133. The .INI file entry "magnification" sets the initial magnification. See 
  134. Saving Settings.
  135.  
  136.  
  137. Display Cursor mode
  138.  
  139. Lens can display the location of the mouse cursor, using a cross to indicate 
  140. the location. You can select whether or not you want to display the cursor 
  141. location, using the "Display cursor" Settings menu choice, or the 'c' key. 
  142.  
  143.  
  144.  
  145. Expert mode
  146.  
  147. By default, Lens prompts you with a message box every time you try to 
  148. change a setting. To turn off this behavior, select "Expert mode" from the 
  149. Settings menu, or use the 'x' key.
  150.  
  151. If you select Expert mode, Lens will quietly change its settings when 
  152. commanded.
  153.  
  154.  
  155.  
  156. Freeze Location mode
  157.  
  158. If you choose "Freeze Location" from the Settings menu, (or type the 'f' 
  159. key), Lens will change its cursor into a magnifying glass, and wait for you to 
  160. position the cursor over an area on the screen and click the left mouse 
  161. button.
  162.  
  163. Until you disable this mode, Lens will then continue to magnify the area you 
  164. clicked on. If you have Repeat mode enabled, any changes to 
  165. that area of the screen will be represented in the Lens window as they 
  166. happen.
  167.  
  168.  
  169.  
  170. Hiding the Menu Bar
  171.  
  172. You may choose to display or hide the Lens menu bar.
  173.  
  174. By default, the menu bar is displayed, but you can change this setting using 
  175. the Settings menu choice "Display menu bar", or by using the 'b' key.
  176.  
  177. If you have the menu bar turned off, you can still use the System menu to 
  178. change the settings: if you have the title bar displayed, just click on the 
  179. upper-left hand corner of the Lens title bar, and the System menu will pop 
  180. down. If you don't have the title bar displayed, you can use the 
  181. Alt-Space key combination to pop the System menu down.
  182.  
  183. If you have the title bar turned off, the menu bar is no longer displayed.
  184.  
  185.  
  186.  
  187. Hiding the Title Bar
  188.  
  189. Lens can be made to hide its title bar (the bar at the top of the window that 
  190. includes the system menu/close button, the title of the program, and the 
  191. minimize and maximize buttons).
  192.  
  193. This can be done either by selecting "Hide Title Bar" from the Settings menu 
  194. (or the system menu), or by double-clicking on the Lens window.
  195.  
  196. You can re-display the title bar (and menu bar, if it was enabled) by double-
  197. clicking again on the Lens window.
  198.  
  199. If you do this, you can still drag the Lens window around using the mouse.
  200.  
  201. You can also use the System menu to make settings changes, by using the 
  202. Alt-Space keystroke combination to pop the System menu down.
  203.  
  204.  
  205.  
  206. Keyboard shortcuts
  207.  
  208. KEY    ACTION
  209. t    Always on top mode (toggle)
  210. +, =    Increase magnification
  211. -    Decrease magnification
  212. r    Repeat mode (toggle)
  213. k    Track caret mode (toggle)
  214. a    About Lens
  215. v    Save Lens settings (see Saving settings)
  216. b    Hide the menu bar (see Hiding the menu bar) 
  217. (toggle)
  218. F1    Lens Help (this file)
  219. x    Expert mode (toggle)
  220. c    Display Cursor mode (toggle)
  221. f    Freeze Location mode (toggle)
  222. Alt-Space    Display the System menu
  223.  
  224.  
  225.  
  226. Release Notes
  227.  
  228.      Version 2.03, 5 July 1995
  229.  
  230. Made 32-bit version. Added to standard distribution.
  231.  
  232.      Version 2.02, 17 December 1994
  233.  
  234. Changed mail and Internet addresses.
  235.  
  236.      Version 2.01, 15 October 1994
  237.  
  238. Bug fix version:
  239.  
  240.      Re-compiled to work on 80286 processors as well as '386 and 
  241. higher.
  242.      Fixed bug where save when iconized resulted in bad restart.
  243.  
  244.      Version 2.00, 7 May 1994
  245.  
  246. Added enough new features to warrant a new major version number!
  247.  
  248.      Finally fixed 256-color StretchBlt palette bug
  249.      Real Windows help file
  250.      Freeze Location mode
  251.      Always-on-top mode
  252.      Hide title bar feature
  253.      Display cursor position feature
  254.      Changed postal address
  255.  
  256.      Version 1.04, 4 July 1993
  257.  
  258.      Changed layout of "Usage" message box for better display on NEC 
  259. 640x400 displays for Japanese users.
  260.      Added explanatory text about StretchBlt bug.
  261.      Removed BIX email address.
  262.  
  263.      Version 1.03, 8 August 1992
  264.  
  265. My first bug report! Fixed bug where repeat mode was never saved. Also 
  266. made it so that changing magnification from the keyboard using the + 
  267. and - keys would cause a window repaint. So now you can leave your 
  268. mouse alone and use the + and - keys to get the magnification you 
  269. want.
  270.  
  271.      Version 1.02, June 1992
  272.  
  273. Changed text of About box.
  274.  
  275.  
  276.  
  277. Repeat Mode
  278.  
  279. Repeat mode continues to magnify even if the cursor has not moved. This 
  280. mode should be set if you wish to magnify contents of a window which is 
  281. changing on its own without the mouse or the caret being moved, for 
  282. example when magnifying animation. This mode may be a resource hog and 
  283. slow down your system if the timerInterval setting is too short (see Saving 
  284. Settings).
  285.  
  286. Repeat mode may be turned on or off using the menus, or by using the 'r' 
  287. key (see Keyboard shortcuts).
  288.  
  289.  
  290.  
  291.  
  292. Saving Settings
  293.  
  294. Lens saves its settings in its initialization file (or registry entry) when you 
  295. choose "Save Settings!", or use the 'v' key. This initialization file (or 
  296. registry key) may be named as a command line parameter to Lens (see 
  297. Starting Lens), otherwise it will default to "LENS.INI", in your 
  298. Windows directory.
  299.  
  300. If you're using Lens32 (the 32-bit version of Lens), the registry key you 
  301. specify will be under the key "HKEY_CURRENT_USER\Software\NedKonz". 
  302. If you have specified a key name as a command line parameter, this will be 
  303. the subkey name, otherwise it will be "Lens32".
  304.  
  305. The "timerInterval" setting in this initialization file sets the minimum 
  306. time between magnifications (in mSec). Setting it too low, especially with 
  307. repeat mode ON, will cause your system to slow down. The default setting 
  308. for the timer interval is 200 msec (1/5 second).
  309.  
  310. A default LENS.INI (for VGA) file follows (with comments)
  311.  
  312. [Lens]
  313. ; top, left, right, and bottom are
  314. ; the initial position of the lens window.
  315. ; These default to 0, 0, screenwidth/2, and screenheight/2.
  316. top=0
  317. left=0
  318. right=320
  319. bottom=240
  320. ; this is the initial magnification (1-20)
  321. magnification=2
  322. ; repeatMode and trackCaret are either 1 or 0.
  323. repeatMode=0
  324. trackCaret=0
  325. ; timerInterval sets the minimum time
  326. ; between magnifications.
  327. ; It defaults to 200 mSec (1/5 second)
  328. timerInterval=200
  329. ; Setting displayMenuBar to 0 inhibits
  330. ; the display of the menu bar in the Lens window.
  331. displayMenuBar=1
  332. ; setting displayTitleBar to 0 makes the window
  333. ; appear without any title bar or menu bar.
  334. displayTitleBar=1
  335. ; setting alwaysOnTop to 1 makes the Lens window
  336. ; always appear on top of other windows,
  337. ; even if it is not the active window.
  338. alwaysOnTop=0
  339.  
  340.  
  341. Starting Lens
  342.  
  343. Lens may be started from its own icon like any other Windows program.
  344.  
  345. 16-bit version
  346.  
  347. If you want to use a specific initialization file (see Saving 
  348. settings), name this file in the Command Line entry for the 
  349. program Properties in Program Manager.
  350.  
  351. For instance, if you wanted to run Lens from the C:\LENS directory, and use 
  352. an initialization file in that directory, you would use a command line of:
  353.  
  354. C:\LENS\LENS.EXE C:\LENS\LENS.INI
  355.  
  356. in the Program Properties settings.
  357.  
  358. By naming specific initialization files, you can have multiple Lens windows, 
  359. each with their own different settings.
  360.  
  361. 32-bit version
  362.  
  363. If you want to use a specific registry key (see Saving settings), 
  364. name this key in the Command Line entry for the program Properties in 
  365. Program Manager.
  366.  
  367. For instance, if you wanted to run Lens from the C:\LENS directory, and use 
  368. an registry key named "Fred" (that is, 
  369. "HKEY_CURRENT_USER\Software\NedKonz\Fred"), you would use a 
  370. command line of:
  371.  
  372. C:\LENS\LENS.EXE Fred
  373.  
  374. in the Program Properties settings.
  375.  
  376. By naming specific registry keys, you can have multiple Lens windows, each 
  377. with their own different settings.
  378.  
  379. Since the registry keys are saved under HKEY_CURRENT_USER, each user 
  380. has his or her own sets of Lens32 settings.
  381.  
  382.  
  383.  
  384. Track Caret Mode
  385.  
  386. Lens can be told to try to track the caret (the "text cursor") in some text 
  387. applications. To do this, enable Track Caret mode using the menus or the 
  388. 'k' key on the keyboard (see Keyboard shortcuts). You can try 
  389. Track Caret mode with Notepad. It also works with the Borland C++ 
  390. integrated development environment.
  391.  
  392. This mode does not work with all applications. It will not work, for instance, 
  393. with Word for Windows, which doesn't use the built-in Windows calls for 
  394. displaying and moving the caret. Also, since it is impossible for Lens to tell 
  395. whether the caret is actually being displayed, this setting may cause a lack 
  396. of Lens motion when a non-text program is active.
  397.  
  398. Lens will track the mouse cursor if the caret position in the active window is 
  399. at the upper left hand corner (0,0), otherwise it will track the caret.
  400.  
  401.  
  402.